package com.cloud.service;


import com.cloud.dto.UserDto;
import com.cloud.entity.User;

import java.util.List;

public interface UserService {

    public UserDto getUerById(Integer userId);

    public UserDto login(UserDto user);

    public List<UserDto> allUsers();

    public UserDto addUser(UserDto dto);

    public List<UserDto> getUserByTeamId(Integer teamId);

    public UserDto accept(Integer userId, Integer teamId);

    public UserDto update(User user);

    public List<UserDto> aUser();

    public List<UserDto> findUserByName(String userName);

}
